package com.bank.mapper;

import com.bank.entity.Loan;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface LoanMapper {
    Loan getLoanByAccountId(Long accountId);

    void addLoanByAccountId(Long accountId);

    void updateLoanByAccountId(Long accountId, BigDecimal loan);
}
